Before any physical reactions can occur in GameMaker Studio 2 you must first define the physics world in which they are going to happen. If you do not do this, GameMaker Studio 2 will default to the basic collision functions, and all other physics related code or settings will be ignored. You can set up the physics world from the Room Editor, but you can also set the same properties using code with the following functions: